import PySimpleGUI as psg

layout = [
    [psg.Text("欢迎使用pysimplegui")],
    [psg.Button("click me")],
    [psg.Exit()]
]
window =psg.Window("dome" , layout)